﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Windows.Forms;

namespace MigratorWizard
{
    public partial class Welcome : UserControl
    {
        public Welcome()
        {
            InitializeComponent();
        }

        private Main main;

        public Main Main
        {
            set { main = value; }
        }

        private void Welcome_VisibleChanged(object sender, EventArgs e)
        {
            if (this.Visible && (main != null))
            {
                this.main.EnableBack = false;
                this.main.EnableNext = true;
                this.main.Text = "The Migrator Project - Welcome";
            }
        }
    }
}
